<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>新经资讯后台管理</title>
    <link rel="stylesheet" type="text/css" href="../static/admin/css/reset.css">
    <link rel="stylesheet" type="text/css" href="../static/admin/css/main.css">
</head>
<body>
<div class="breadcrub">
        当前位置：图书管理>添加图书
</div>
<div class="pannel">
    <form method='post' class="news_review">

        <h3 class="review_title">添加图书</h3>
        <div class="form_group">
            <label>名称：</label>
            <input type="text" class="input_txt2" name='name' style="width: 10%">
        </div>

        <div class="form_group">
            <label>作者：</label>
            <input type="text" class="input_txt2" name='author' style="width: 10%">
        </div>

        <div class="form_group">
            <label>图书分类：</label>
            <select class="input_txt2" style="width: 10%" name="cate_id">
                {% for cate in cates %}
                <option value="{{ cate.id }}">{{ cate.name }}</option>
                {% endfor %}
            </select>
        </div>
        <div class="form_group indent_group line_top">
            <input type="submit" value="确定" class="confirm">
            <input type="button" value="取消" class="cancel" onclick="cancel()">
        </div>
    </form>
</div>

</body>
</html>